import { requestClient } from '#/api/request';
import type {FloorVo} from '#/api/common';
/**
 * 合同分页列表
 */
export async function listFloorApi(data:any) {
  return requestClient.get<FloorVo[]>('/floor/list',{
    params: {...data}
  });
}

export async function addFloorApi(data:any) {
  return requestClient.get<boolean>('/floor/add',{
    params: {...data}
  });
}

export async function deleteFloorApi(data:any) {
  return requestClient.get<boolean>('/floor/delete',{
    params: {...data}
  });
}
